package com.sjj.springcloud.dao;

import com.sjj.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptDao {
    boolean addDept(Dept dept);

    Dept getDept(Long id);

    List<Dept> getAllDept();
}
